package com.freight.tws.domain;

import java.math.BigDecimal;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.freight.common.core.annotation.Excel;
import com.freight.common.core.web.domain.MyPlusEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 运费变更申请对象 tws_order_monetary_change
 * 
 * @author wjx
 * @date 2023-05-10
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("tws_order_monetary_change")
public class OrderMonetaryChange extends MyPlusEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 订单ID */
    @Excel(name = "订单ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId;

    /** 运单号 */
    @Excel(name = "运单号")
    private String shippingNoteNumber;

    /** 司机id */
    @Excel(name = "司机id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long driverId;

    /** 司机名 */
    @Excel(name = "司机名")
    private String driverName;

    /** 司机手机号 */
    @Excel(name = "司机手机号")
    private String driverPhone;

    /** 期望运费 */
    @Excel(name = "期望运费")
    private BigDecimal desireMonetaryAmount;

    /** 运费金额 */
    @Excel(name = "运费金额")
    private BigDecimal totalMonetaryAmount;

    /** 状态: 0 申请中 1 通过 2 驳回 */
    @Excel(name = "状态: 0 申请中 1 通过 2 驳回")
    @JsonSerialize(using = ToStringSerializer.class)
    private Integer status;



}
